package research_team.client.generated.business;

import java.util.*;
import research_team.client.notgenerated.eventFramework.PropertyChangeSupport;

/**
* TODO javadoc
*/
public class OpenPosition   {

	private String status;
	private String mission;
	private String duration;
	private Collaboration context;
	private PropertyChangeSupport<String> propertychangesupportstatus;
	private PropertyChangeSupport<String> propertychangesupportmission;
	private PropertyChangeSupport<String> propertychangesupportduration;
	public void setPropertychangesupportstatus(PropertyChangeSupport<String> propertychangesupportstatus) {
		this.propertychangesupportstatus = propertychangesupportstatus;
	}
	public void setPropertychangesupportmission(PropertyChangeSupport<String> propertychangesupportmission) {
		this.propertychangesupportmission = propertychangesupportmission;
	}
	public void setPropertychangesupportduration(PropertyChangeSupport<String> propertychangesupportduration) {
		this.propertychangesupportduration = propertychangesupportduration;
	}
 
	public String get_status() {
		return status;
	}

	public void set_status(String status) {
		if(propertychangesupportstatus!=null) {
			propertychangesupportstatus.firePropertyChange(this.status, status);
		}
		System.err.println(status);
		
		this.status = status;
	}

	public String get_mission() {
		return mission;
	}

	public void set_mission(String mission) {
		if(propertychangesupportmission!=null) {
			propertychangesupportmission.firePropertyChange(this.mission, mission);
		}
		System.err.println(mission);
		
		this.mission = mission;
	}

	public String get_duration() {
		return duration;
	}

	public void set_duration(String duration) {
		if(propertychangesupportduration!=null) {
			propertychangesupportduration.firePropertyChange(this.duration, duration);
		}
		System.err.println(duration);
		
		this.duration = duration;
	}


}